﻿using Rbac.Project.Application.Roles.Dto;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Rbac.Project.Application.Roles
{
    public interface IRoleService
    {
        Task<ResultDto<Tuple<int, List<ListDto>>>> PageDataTupleAsync(int PageIndex = 1, int PageSize = 10);
        Task<ResultDto> AssignPermissionAsync(PermissionDto dto);
        Task<ResultDto> InitPermission(int RoleId);
    }
}